package com.planet.stockanalysis.server.entity;

import java.io.Serializable;

import com.google.gson.Gson;

public class Message implements Serializable {
	public enum MessageType{ 
		message,
		data,
		validated
	}
	private static final long serialVersionUID = -6334259014965208212L;
	public MessageType type;
	public Object value;
	
	public String stringify(){
		return new Gson().toJson(this);
	}
}
